<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QtMmlWidget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qt_mml_widget-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QtMmlWidget Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_qt_mml_widget.html" title="The QtMmlWidget class renders mathematical formulas written in MathML 2.0. ">QtMmlWidget</a> class renders mathematical formulas written in MathML 2.0.  
 <a href="class_qt_mml_widget.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QtMmlWidget:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_qt_mml_widget.png" usemap="#QtMmlWidget_map" alt=""/>
  <map id="QtMmlWidget_map" name="QtMmlWidget_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac3fde39f7b605557d80bded69f985d2a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">MmlFont</a> { <br />
&#160;&#160;<b>NormalFont</b>, 
<b>FrakturFont</b>, 
<b>SansSerifFont</b>, 
<b>ScriptFont</b>, 
<br />
&#160;&#160;<b>MonospaceFont</b>, 
<b>DoublestruckFont</b>
<br />
 }</td></tr>
<tr class="separator:ac3fde39f7b605557d80bded69f985d2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a05b1ec7dcada67400486439a0650fca6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#a05b1ec7dcada67400486439a0650fca6">QtMmlWidget</a> (QWidget *parent=0)</td></tr>
<tr class="separator:a05b1ec7dcada67400486439a0650fca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b3e3f0caac040257873da12b8e80603"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#a9b3e3f0caac040257873da12b8e80603">~QtMmlWidget</a> ()</td></tr>
<tr class="separator:a9b3e3f0caac040257873da12b8e80603"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a069c5d6a449e3d9d67e6b818172d9"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName</a> (<a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">MmlFont</a> type) const</td></tr>
<tr class="separator:ab8a069c5d6a449e3d9d67e6b818172d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbc5b98c9d39c328270a9d65d58b0b7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName</a> (<a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">MmlFont</a> type, const QString &amp;name)</td></tr>
<tr class="separator:afbc5b98c9d39c328270a9d65d58b0b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab255d9d35bca5f04d5828fabed87d5af"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ab255d9d35bca5f04d5828fabed87d5af">baseFontPointSize</a> () const</td></tr>
<tr class="separator:ab255d9d35bca5f04d5828fabed87d5af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab13b093180da6bc6e9f928f4a02321a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ab13b093180da6bc6e9f928f4a02321a8">setBaseFontPointSize</a> (int size)</td></tr>
<tr class="separator:ab13b093180da6bc6e9f928f4a02321a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf8373b12e69b14458b56bcb9ccc9c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#acbf8373b12e69b14458b56bcb9ccc9c3">setContent</a> (const QString &amp;text, QString *errorMsg=0, int *errorLine=0, int *errorColumn=0)</td></tr>
<tr class="separator:acbf8373b12e69b14458b56bcb9ccc9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad65232613f2a63db1a306bf4e4008aa7"><td class="memItemLeft" align="right" valign="top"><a id="ad65232613f2a63db1a306bf4e4008aa7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dump</b> () const</td></tr>
<tr class="separator:ad65232613f2a63db1a306bf4e4008aa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab67ec3ebb921484598b65d839dddd0b0"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ab67ec3ebb921484598b65d839dddd0b0">sizeHint</a> () const</td></tr>
<tr class="separator:ab67ec3ebb921484598b65d839dddd0b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad24aab1ee535bc028e730b620b3232dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#ad24aab1ee535bc028e730b620b3232dc">setDrawFrames</a> (bool b)</td></tr>
<tr class="separator:ad24aab1ee535bc028e730b620b3232dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a744050e1126d7713c806fcd9c8ae545f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#a744050e1126d7713c806fcd9c8ae545f">drawFrames</a> () const</td></tr>
<tr class="separator:a744050e1126d7713c806fcd9c8ae545f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96de78046ab6ea13c1e4dc4d0bae0bf9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qt_mml_widget.html#a96de78046ab6ea13c1e4dc4d0bae0bf9">clear</a> ()</td></tr>
<tr class="separator:a96de78046ab6ea13c1e4dc4d0bae0bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a5457dd28e50302ec6ff842872ac8a990"><td class="memItemLeft" align="right" valign="top"><a id="a5457dd28e50302ec6ff842872ac8a990"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *e)</td></tr>
<tr class="separator:a5457dd28e50302ec6ff842872ac8a990"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_qt_mml_widget.html" title="The QtMmlWidget class renders mathematical formulas written in MathML 2.0. ">QtMmlWidget</a> class renders mathematical formulas written in MathML 2.0. </p>
<p><a class="el" href="class_qt_mml_widget.html" title="The QtMmlWidget class renders mathematical formulas written in MathML 2.0. ">QtMmlWidget</a> implements the Presentation Markup subset of the MathML 2.0 specification, with a few <a class="el" href="">exceptions</a>.</p>
<div class="fragment"><div class="line">  <a class="code" href="class_qt_mml_widget.html">QtMmlWidget</a> *mmlWidget = <span class="keyword">new</span> <a class="code" href="class_qt_mml_widget.html#a05b1ec7dcada67400486439a0650fca6">QtMmlWidget</a>(<span class="keyword">this</span>);</div><div class="line">  QString errorMsg;</div><div class="line">  <span class="keywordtype">int</span> errorLine;</div><div class="line">  <span class="keywordtype">int</span> errorColumn;</div><div class="line">  <span class="keywordtype">bool</span> ok = mmlWidget-&gt;<a class="code" href="class_qt_mml_widget.html#acbf8373b12e69b14458b56bcb9ccc9c3">setContent</a>(mmlText, &amp;errorMsg, &amp;errorLine, &amp;errorColumn);</div><div class="line">  <span class="keywordflow">if</span> (!ok) {</div><div class="line">qWarning(<span class="stringliteral">&quot;MathML error: %s, Line: %d, Column: %d&quot;</span>,</div><div class="line">   errorMsg.latin1(), errorLine, errorColumn);</div><div class="line">  }</div></div><!-- fragment --> </div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="ac3fde39f7b605557d80bded69f985d2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3fde39f7b605557d80bded69f985d2a">&#9670;&nbsp;</a></span>MmlFont</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">QtMmlWidget::MmlFont</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This ennumerated type is used in <a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName()</a> and <a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName()</a> to specify a font type.</p>
<p>NormalFont The default font type, used to render expressions for which no mathvariant or fontfamily is specified, or for which the "normal" mathvariant is specified.</p>
<p>FrakturFont The font type used to render expressions for which the "fraktur" mathvariant is specified.</p>
<p>SansSerifFont The font type used to render expressions for which the "sans-serif" mathvariant is specified.</p>
<p>ScriptFont The font type used to render expressions for which the "script" mathvariant is specified.</p>
<p>MonospaceFont The font type used to render expressions for which the "monospace" mathvariant is specified.</p>
<p>DoublestruckFont The font type used to render expressions for which the "doublestruck" mathvariant is specified.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName()</a> <a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName()</a> <a class="el" href="class_qt_mml_widget.html#ab13b093180da6bc6e9f928f4a02321a8">setBaseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ab255d9d35bca5f04d5828fabed87d5af">baseFontPointSize()</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a05b1ec7dcada67400486439a0650fca6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05b1ec7dcada67400486439a0650fca6">&#9670;&nbsp;</a></span>QtMmlWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtMmlWidget::QtMmlWidget </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="class_qt_mml_widget.html" title="The QtMmlWidget class renders mathematical formulas written in MathML 2.0. ">QtMmlWidget</a> object. The <em>parent</em> parameter is passed to QFrame's constructor. </p>

</div>
</div>
<a id="a9b3e3f0caac040257873da12b8e80603"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b3e3f0caac040257873da12b8e80603">&#9670;&nbsp;</a></span>~QtMmlWidget()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QtMmlWidget::~QtMmlWidget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructs a <a class="el" href="class_qt_mml_widget.html" title="The QtMmlWidget class renders mathematical formulas written in MathML 2.0. ">QtMmlWidget</a> object. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab255d9d35bca5f04d5828fabed87d5af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab255d9d35bca5f04d5828fabed87d5af">&#9670;&nbsp;</a></span>baseFontPointSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QtMmlWidget::baseFontPointSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the point size of the font used to render expressions whose scriptlevel is 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#ab13b093180da6bc6e9f928f4a02321a8">setBaseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName()</a> <a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName()</a> </dd></dl>

</div>
</div>
<a id="a96de78046ab6ea13c1e4dc4d0bae0bf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96de78046ab6ea13c1e4dc4d0bae0bf9">&#9670;&nbsp;</a></span>clear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QtMmlWidget::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clears the contents of this widget. </p>

</div>
</div>
<a id="a744050e1126d7713c806fcd9c8ae545f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a744050e1126d7713c806fcd9c8ae545f">&#9670;&nbsp;</a></span>drawFrames()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QtMmlWidget::drawFrames </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns true if each expression should be drawn with a red bounding rectangle; otherwise returns false. This is mostly useful for debugging MathML expressions.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#ad24aab1ee535bc028e730b620b3232dc">setDrawFrames()</a> </dd></dl>

</div>
</div>
<a id="ab8a069c5d6a449e3d9d67e6b818172d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8a069c5d6a449e3d9d67e6b818172d9">&#9670;&nbsp;</a></span>fontName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QtMmlWidget::fontName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">MmlFont</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the name of the font used to render the font <em>type</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName()</a> <a class="el" href="class_qt_mml_widget.html#ab13b093180da6bc6e9f928f4a02321a8">setBaseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ab255d9d35bca5f04d5828fabed87d5af">baseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">QtMmlWidget::MmlFont</a> </dd></dl>

</div>
</div>
<a id="ab13b093180da6bc6e9f928f4a02321a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab13b093180da6bc6e9f928f4a02321a8">&#9670;&nbsp;</a></span>setBaseFontPointSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QtMmlWidget::setBaseFontPointSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the point <em>size</em> of the font used to render expressions whose scriptlevel is 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#ab255d9d35bca5f04d5828fabed87d5af">baseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName()</a> <a class="el" href="class_qt_mml_widget.html#afbc5b98c9d39c328270a9d65d58b0b7a">setFontName()</a> </dd></dl>

</div>
</div>
<a id="acbf8373b12e69b14458b56bcb9ccc9c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbf8373b12e69b14458b56bcb9ccc9c3">&#9670;&nbsp;</a></span>setContent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QtMmlWidget::setContent </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QString *&#160;</td>
          <td class="paramname"><em>errorMsg</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>errorLine</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>errorColumn</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the MathML expression to be rendered. The expression is given in the string <em>text</em>. If the expression is successfully parsed, this method returns true; otherwise it returns false. If an error occured <em>errorMsg</em> is set to a diagnostic message, while <em>errorLine</em> and <em>errorColumn</em> contain the location of the error. Any of <em>errorMsg</em>, <em>errorLine</em> and <em>errorColumn</em> may be 0, in which case they are not set.</p>
<p><em>text</em> should contain MathML 2.0 presentation markup elements enclosed in a &lt;math&gt; element. </p>

</div>
</div>
<a id="ad24aab1ee535bc028e730b620b3232dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad24aab1ee535bc028e730b620b3232dc">&#9670;&nbsp;</a></span>setDrawFrames()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QtMmlWidget::setDrawFrames </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If <em>b</em> is true, draws a red bounding rectangle around each expression; if <em>b</em> is false, no such rectangle is drawn. This is mostly useful for debugging MathML expressions.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#a744050e1126d7713c806fcd9c8ae545f">drawFrames()</a> </dd></dl>

</div>
</div>
<a id="afbc5b98c9d39c328270a9d65d58b0b7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afbc5b98c9d39c328270a9d65d58b0b7a">&#9670;&nbsp;</a></span>setFontName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QtMmlWidget::setFontName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">MmlFont</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets the name of the font used to render the font <em>type</em> to <em>name</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qt_mml_widget.html#ab8a069c5d6a449e3d9d67e6b818172d9">fontName()</a> <a class="el" href="class_qt_mml_widget.html#ab13b093180da6bc6e9f928f4a02321a8">setBaseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ab255d9d35bca5f04d5828fabed87d5af">baseFontPointSize()</a> <a class="el" href="class_qt_mml_widget.html#ac3fde39f7b605557d80bded69f985d2a">QtMmlWidget::MmlFont</a> </dd></dl>

</div>
</div>
<a id="ab67ec3ebb921484598b65d839dddd0b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab67ec3ebb921484598b65d839dddd0b0">&#9670;&nbsp;</a></span>sizeHint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QSize QtMmlWidget::sizeHint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the formula in pixels. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/mathml/<a class="el" href="qtmmlwidget_8h_source.html">qtmmlwidget.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/mathml/qtmmlwidget.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
